package com.zeng.plugin.entity.relative;

import com.zeng.plugin.entity.RowEntity;
import com.zeng.plugin.entity.TableEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MoreToMore implements Serializable {

    private String more1;

    private String more2;

    private String foreignTable;

    // 两个表的主键对应属性
    private Map<String, RowEntity> moreProperty;

    // 外键对应属性
    private Map<String, RowEntity> foreign;

}
